<?php
namespace app\admin\model;

class Region extends Base
{
    // protected $name = 'region';

    //代理商查询列表
    public function getAll()
    {
        $data=$this
            ->field('id,p_id,name,level,pinyin,english_name,unicode_code,sort,status')
            //->where("deleted_at","exp","is null")
            //->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}